package com.doquijote.spring6.bean;

import java.util.Date;

/**
 * @author 421527548@qq.com
 * @version V1.0
 * @title
 * @description
 * @date 2022-11-02 18:12
 */
public class User {
    private String name;
    private Boolean isRich;
    private Date birthday;
    private String[] cups;

    public void setCups(String[] cups) {
        this.cups = cups;
    }

    public User() {
    }

    public User(String name, Boolean isRich, Date birthday) {
        this.name = name;
        this.isRich = isRich;
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", isRich=" + isRich +
                ", birthday=" + birthday +
                '}';
    }
}
